package com.xinmao.quantitative.enums;

import lombok.Getter;

@Getter
public enum EastMoneyPeriodEnum {
    //    period_dict = {"daily": "101", "weekly": "102", "monthly": "103"}
    DAILY("daily","101","日线",0),
    WEEKLY("weekly","102","周线",0),
    MONTHLY("monthly","103","月线",0),
    MIN_5("5Minute","5","5分钟",5),
    MIN_1("1Minute","1","1分钟",1),
    MIN_15("15Minute","15","15分钟",15),
    MIN_30("30Minute","30","30分钟",30),
    MIN_60("60Minute","60","60分钟",60);

    private final String code;
    private final String type;
    private final String desc;
    private final Integer value;

    EastMoneyPeriodEnum(String code, String type, String desc, Integer value) {
        this.code = code;
        this.type = type;
        this.desc = desc;
        this.value = value;
    }


}
